//
//  BRPaymentDetailView.h
//  BrezzeSaaS
//
//  Created by IOS on 2021/10/8.
//  Copyright © 2021 Brezze GWG. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BROrderDetailModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface BRPaymentDetailView : UIView


@property (nonatomic,strong) QMUITableView *tableView;

#pragma mark - 显示押金说明 --
- (instancetype)initDepositWithFrame:(CGRect)frame;

#pragma mark - 添卡支付弹窗 --
- (instancetype)initAddViewWithFrame:(CGRect)frame;

@property (nonatomic,assign) NSInteger type;

@property (nonatomic,assign) BOOL isDefault;
@property (nonatomic,assign) BOOL isAdd;

@property (nonatomic,assign) BOOL isLost;

@property (nonatomic,copy) void(^toScan)(void);
/// 优惠券优惠的的金额
@property (nonatomic,assign) CGFloat couponAmount;

- (void)hidd;

- (void)show;

/// 卡输入设置第一响应者
- (void)br_becomeFirst;

@property (nonatomic,strong) BROrderListModel *dto;

@property (nonatomic,strong) STPCardParams *cardParams;

@property (nonatomic,strong) STPPaymentMethodCardParams *paymentMethodCardParams;


- (void)showPre:(NSString*)sno;

@property (nonatomic,strong) NSString *preTypeStr;//判断入口弹窗
@property (nonatomic,strong) NSString *sno;//

@property (nonatomic,copy) BRStringBlock prePaySucc;

@end

NS_ASSUME_NONNULL_END
